﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS.Entities.Enum;
using SqlSugar;

namespace WCS.Entities
{
    public class Types
    {
        //托盘号
        public string PalletNumber { get; set; }
        //类型
        public MaterialType type { get; set; }
        //任务号
        public int NewJobNumbell { get; set; }

        /// <summary>
        /// 旧的任务号
        /// </summary>
        public int JobNumbell { get; set; }
        //物料号
        [SugarColumn(IsPrimaryKey = true)]
        public string MaterialNamber { get; set; }

        /// <summary>
        /// 任务编号
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string RobotJobCode { get; set; }

        /// <summary>
        /// 是否完成
        /// </summary>
        public bool IsComplete { get; set; } = false;

        //public int State { get; set; } = 0;
    }
}
